#!/bin/sh


PATH=/sbin:/bin:/usr/sbin:/usr/bin
runlevel=S
prevlevel=N
umask 022
export PATH runlevel prevlevel

#
#	Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
#

mount -a
mkdir -p /dev/pts
mount -t devpts devpts /dev/pts
mount -n -t usbfs none /proc/bus/usb
echo /sbin/mdev > /proc/sys/kernel/hotplug
mdev -s
mkdir -p /var/lock

modprobe rt5370sta

hwclock -s
#EmbedSky_wdg &


ifconfig lo 127.0.0.1
net_set &



/etc/rc.d/init.d/netd start
/usr/local/bin/sshd
/etc/rc.d/init.d/httpd start
/usr/local/bin/sshd
#/etc/rc.d/init.d/leds start

/bin/sh /mnt/config/config &

#InputAdapter
#pda &
/bin/hostname -F /etc/sysconfig/HOSTNAME

#chmod 755 /mnt/nor/cfg/auto.sh
#/mnt/nor/cfg/auto.sh &
#/web/Daemon &